/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package escritorioremoto;
import com.elusiva.rdp.Rdesktop;
import com.elusiva.rdp.OrderException;
import com.elusiva.rdp.RdesktopException;

/**
 *
 * @author mbarriga
 */
public class mi_rdp {
     public mi_rdp(){
         //Rdesktop obj = new Rdesktop();
         String[] mistr = {"martin", "10.1.2.140"};
         
         try{
            Rdesktop.main( mistr );
         }
         catch( OrderException e ){
            System.out.println("Excepcion.  fallo el sistema ");    
         }
         catch( RdesktopException e ){
            System.out.println("Excepcion.  fallo el sistema ");    
         }       
     }
     
     public static void main(String[] args) {
         mi_rdp obj = new mi_rdp();
    }
}
